//
//  UIView+InitWithMargin.h
//  TravelGuideMdd
//
//  Created by 陈曦 on 13-5-13.
//  Copyright (c) 2013年 mafengwo.com. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface UIView(InitWithMargin)

- (id)initWithFrameX:(CGFloat)aX
                   Y:(CGFloat)aY
                   W:(CGFloat)aW
                   H:(CGFloat)aH
             marginL:(BOOL)aMarginLeft
                   T:(BOOL)aMarginTop
                   R:(BOOL)aMarginRight
                   B:(BOOL)aMarginBottom
                   W:(BOOL)aWidth
                   H:(BOOL)aHeight;

- (id)initWithFrameX:(CGFloat)aX
                   Y:(CGFloat)aY
                   W:(CGFloat)aW
                   H:(CGFloat)aH;

- (id)initWithFrame:(CGRect)aFrame
            marginL:(BOOL)aMarginLeft
                  T:(BOOL)aMarginTop
                  R:(BOOL)aMarginRight
                  B:(BOOL)aMarginBottom
                  W:(BOOL)aWidth
                  H:(BOOL)aHeight;
@end
